import http, {newApiPrefix} from "../request";

/**
 * 请求获取项目列表
 */
export const requestMediaListApi = (param) => {
  return http.post(
      `${newApiPrefix}/user/media/page`, param
  )
}

/**
 * 创建自媒体数据
 * @param param
 * @returns {Promise<axios.AxiosResponse<any>>}
 */
export const requestCreateMedia = (param) => {
  return http.post(
      `${newApiPrefix}/user/media/create`, param
  )
}
